package com.rzico.basics.mapper;

import com.rzico.base.BaseMapper;
import com.rzico.basics.entity.Recommend;
import com.rzico.basics.entity.RecommendTag;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 *   推荐
 */
@Mapper
public interface RecommendTagMapper extends BaseMapper<RecommendTag, String> {

    List<Recommend> getRecommendByTags(Map<String, Object> params);

    void deleteByRecommendIdAndTagId(Map<String, Object> params);

    List<RecommendTag> getRecommendTagByType(Map<String,Object> param);
}
